﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using com.nm.Attributes;

namespace PlanAPI.model
{
    public class SeasonMonthModel
    {
        public class CreateModel
        {
            /// <summary>
            /// 公司代码
            /// </summary>
            [ParamDescription("公司代码")]
            public string CompanyID { get; set; }

            /// <summary>
            /// 零售分区
            /// </summary>
            [ParamDescription("商品区域")]
            public string ParentAreaID { get; set; }


            /// <summary>
            /// 季节
            /// </summary>
            [ParamDescription("季节")]
            public string SeasonID { get; set; }

            /// <summary>
            /// 
            /// </summary>
            [ParamDescription("月份")]
            public int Monthv { get; set; }

            /// <summary>
            /// 是否开始月份
            /// </summary>
            [ParamDescription("是否开始月份")]
            public int IsBegin { get; set; }

            /// <summary>
            /// 备注
            /// </summary>
            [ParamDescription("备注")]
            public string Remark { get; set; }

            /// <summary>
            /// 审核状态
            /// </summary>
            [ParamDescription("审核状态")]
            public int CheckState { get; set; }

            /// <summary>
            /// 审核人
            /// </summary>
            [ParamDescription("审核人")]
            public string Checker { get; set; }

            /// <summary>
            /// 修改时间
            /// </summary>
            [ParamDescription("修改时间")]
            public DateTime MofifyDTM { get; set; }

            /// <summary>
            /// 允许使用
            /// </summary>
            [ParamDescription("允许使用")]
            public int AllowUsed { get; set; }

            /// <summary>
            /// 读取时间
            /// </summary>
            [ParamDescription("读取时间")]
            public DateTime LoadTime { get; set; }

            /// <summary>
            /// 修改时间
            /// </summary>
            [ParamDescription("修改时间")]
            public DateTime EtlDate { get; set; }
        }

        public class ListModel : CreateModel
        {
            /// <summary>
            /// 季节名称
            /// </summary>
            [ParamDescription("季节名称")]
            public string SeasonName { get; set; }
        }

        public class Update
        {
            /// <summary>
            /// 季节
            /// </summary>
            public string SeasonID { get; set; }

            /// <summary>
            /// 商品区域
            /// </summary>
            public string ParentAreaID { get; set; }

            /// <summary>
            /// 是否允许使用
            /// </summary>
            public int AllowUsed { get; set; }

            /// <summary>
            /// 备注
            /// </summary>
            public string Remark { get; set; }

        }


        //public class UpdateInfo : Update
        //{
        //    /// <summary>
        //    /// 该季节最小的月
        //    /// </summary>
        //    public int MinMonth { get; set; }
        //    /// <summary>
        //    /// 该季节最大的月
        //    /// </summary>
        //    public int MaxMonth { get; set; }
        //}

        public class UpdateModel : Update
        {
            /// <summary>
            /// 公司代码
            /// </summary>
            [ParamDescription("公司代码")]
            public string CompanyID { get; set; }
            public int ChunBegin { get; set; }
            public int ChunEnd { get; set; }
            public int XiaBegin { get; set; }
            public int XiaEnd { get; set; }
            public int QiuBegin { get; set; }
            public int QiuEnd { get; set; }
            public int DongBegin { get; set; }
            public int DongEnd { get; set; }
        }
    }
}
